﻿using Cngot.Extensions.EventBus.RabbitMQ.Integration;
using System.Threading.Tasks;

namespace Cngot.Extensions.EventBus.RabbitMQ
{
    public interface IRabbitConsumerListener
    {
        /// <summary>
        /// 消费消息
        /// </summary>
        /// <param name="recieveResult"></param>
        /// <returns></returns>
        Task HandleAsync(RecieveResult recieveResult);
    }
}
